package com.upcode.weighing.domain;

import java.time.LocalDateTime;
import com.upcode.weighing.base.domain.BaseEntity;

/**
 * <p>
 * app用户表
 * </p>
 *
 * @author alex
 * @since 2024-07-21
 */
public class AppUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 用户编码
     */
    private String userNo;

    /**
     * 手机号
     */
    private String mobileNo;

    /**
     * 登录id
     */
    private String loginId;

    /**
     * 密码
     */
    private String password;

    /**
     * 微信号
     */
    private String weixinId;

    /**
     * 注册时间
     */
    private LocalDateTime regTime;

    /**
     * 历史id
     */
    private String regTermId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 地址
     */
    private String address;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 头像
     */
    private String photoAddr;

    /**
     * 出生日期
     */
    private LocalDateTime birthday;

    /**
     * 身份证号
     */
    private String idcardNo;

    /**
     * 驾驶证号
     */
    private String driverNo;

    /**
     * 驾驶证正面
     */
    private String driverImg1;

    /**
     * 驾驶证背面
     */
    private String driverImg2;

    /**
     * 信息是否完整 0完整 1不完整
     */
    private Integer integral;

    /**
     * 是否推送消息 0否 1是
     */
    private Integer smsPushFlag;

    private Integer nocensceFlag;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 最后更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 账号状态 1禁用 2正常
     */
    private Integer status;

    /**
     * 用户ID
     */
    private Long clientId;

    /**
     * 注册来源
     */
    private Integer source;

    /**
     * 禁用原因
     */
    private String disableReason;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 部级编码
     */
    private String openId;

    /**
     * 抽奖次数
     */
    private Boolean lotteryCount;

    /**
     * 活动ID
     */
    private Long activityId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }
    public String getMobileNo() {
        return mobileNo;
    }

    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }
    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getWeixinId() {
        return weixinId;
    }

    public void setWeixinId(String weixinId) {
        this.weixinId = weixinId;
    }
    public LocalDateTime getRegTime() {
        return regTime;
    }

    public void setRegTime(LocalDateTime regTime) {
        this.regTime = regTime;
    }
    public String getRegTermId() {
        return regTermId;
    }

    public void setRegTermId(String regTermId) {
        this.regTermId = regTermId;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getPhotoAddr() {
        return photoAddr;
    }

    public void setPhotoAddr(String photoAddr) {
        this.photoAddr = photoAddr;
    }
    public LocalDateTime getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDateTime birthday) {
        this.birthday = birthday;
    }
    public String getIdcardNo() {
        return idcardNo;
    }

    public void setIdcardNo(String idcardNo) {
        this.idcardNo = idcardNo;
    }
    public String getDriverNo() {
        return driverNo;
    }

    public void setDriverNo(String driverNo) {
        this.driverNo = driverNo;
    }
    public String getDriverImg1() {
        return driverImg1;
    }

    public void setDriverImg1(String driverImg1) {
        this.driverImg1 = driverImg1;
    }
    public String getDriverImg2() {
        return driverImg2;
    }

    public void setDriverImg2(String driverImg2) {
        this.driverImg2 = driverImg2;
    }
    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }
    public Integer getSmsPushFlag() {
        return smsPushFlag;
    }

    public void setSmsPushFlag(Integer smsPushFlag) {
        this.smsPushFlag = smsPushFlag;
    }
    public Integer getNocensceFlag() {
        return nocensceFlag;
    }

    public void setNocensceFlag(Integer nocensceFlag) {
        this.nocensceFlag = nocensceFlag;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }
    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }
    public String getDisableReason() {
        return disableReason;
    }

    public void setDisableReason(String disableReason) {
        this.disableReason = disableReason;
    }
    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }
    public Boolean getLotteryCount() {
        return lotteryCount;
    }

    public void setLotteryCount(Boolean lotteryCount) {
        this.lotteryCount = lotteryCount;
    }
    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    @Override
    public String toString() {
        return "AppUser{" +
        "id=" + id +
        ", userNo=" + userNo +
        ", mobileNo=" + mobileNo +
        ", loginId=" + loginId +
        ", password=" + password +
        ", weixinId=" + weixinId +
        ", regTime=" + regTime +
        ", regTermId=" + regTermId +
        ", name=" + name +
        ", address=" + address +
        ", email=" + email +
        ", photoAddr=" + photoAddr +
        ", birthday=" + birthday +
        ", idcardNo=" + idcardNo +
        ", driverNo=" + driverNo +
        ", driverImg1=" + driverImg1 +
        ", driverImg2=" + driverImg2 +
        ", integral=" + integral +
        ", smsPushFlag=" + smsPushFlag +
        ", nocensceFlag=" + nocensceFlag +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", status=" + status +
        ", clientId=" + clientId +
        ", source=" + source +
        ", disableReason=" + disableReason +
        ", realName=" + realName +
        ", openId=" + openId +
        ", lotteryCount=" + lotteryCount +
        ", activityId=" + activityId +
        "}";
    }
}
